﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PropertyApp.cs
{
    public partial class PropertyForm : Form
    {
        public PropertyForm()
        {
            InitializeComponent();
        }

        public event EventHandler ApplyHendler;

        public string POP3
        {
            get { return textBoxPOP3.Text; }
            set { textBoxPOP3.Text = value; }
        }

        public string SMTP
        {
            get { return textBoxSMTP.Text; }
            set { textBoxSMTP.Text = value; }
        }

        private void buttonCencel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonChange_Click(object sender, EventArgs e)
        {
            if (ApplyHendler != null)
            {
                ApplyHendler(this, new EventArgs());
            }
        }


    }
}
